WpMatomo\Admin\SystemReport D

Total Complexity 290
Dependencies 34
Dependents 3
Total lines 1,886
Lines of code 1,531
Logical lines of code 677
Comment lines 92
Methods 28
Properties 9

Methods 28

Method Rating Maintainability Complexity Lines of code
get_matomo_info()
D
8
75 440
get_plugins_info()
D
27
32 140
get_server_info()
C
27
21 166
execute_troubleshoot_if_needed()
C
34 24 83
get_db_info()
B
31 17 123
get_wordpress_info()
B
30 14 135
check_file_exists_and_writable()
A
51 11 23
get_db_grants()
A
45 9 41
replace_hexadecimal_colors()
A
49 9 31
get_browser_info()
A
46 8 40
add_diagnostic_results()
A
49 8 29
errors_present()
S
55 6 19
convert_time_to_date()
S
55 6 17
has_only_warnings_no_error()
S
59 6 15
get_phpcli_info()
S
48 4 35
add_errors_first()
S
57 5 18
get_actives_plugins()
S
57 5 16
had_visits_in_last_days()
S
53 4 22
show()
S
54 4 21
get_error_tables()
S
47 2 44
get_num_entries_in_table()
S
59 4 14
get_num_matomo_tables()
S
59 3 14
get_php_cli_binary()
S
67 3 8
add_maxminddb_row()
S
64 3 8
get_phpcli_output()
S
68 3 7
get_missing_tables()
S
60 2 13
get_not_compatible_plugins()
S
82 1 3
__construct()
S
70 1 6